package com.campus.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * @author Alaskaboo
 * @TableName t_info
 */
@TableName(value ="t_info")
@Data
public class Info implements Serializable {
    /**
     * 
     */
    @TableId(value = "id")
    private Integer id;

    /**
     * 活动类型
     */
    @TableField(value = "publish_tag")
    private String publishTag;

    /**
     * 活动题目
     */
    @TableField(value = "publish_title")
    private String publishTitle;

    /**
     * 文本内容
     */
    @TableField(value = "textarea_value")
    private String textareaValue;

    /**
     * 截止时间
     */
    @TableField(value = "deadline")
    private String deadline;

    /**
     * 图片路径
     */
    @TableField(value = "img_src")
    private String imgSrc;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 创建人
     */
    @TableField(value = "create_by")
    private String createBy;

    /**
     * 是否删除（默认是0，删除是1）
     */
    @TableLogic
    @TableField(value = "del_flag")
    private String delFlag;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}